<template>
  <consume-list :getListByApi="getListByApi">
    <bus-fail-hint slot="header" />
  </consume-list>
</template>

<script>
import { getConsumeList } from './api/api.js'
import BusFailHint from './components/BusFailHint'
import ConsumeList from './page/ConsumeList'
export default {
  name: 'App',
  components: {
    'bus-fail-hint': BusFailHint,
    'consume-list': ConsumeList
  },
  data() {
    return {
      getListByApi: getConsumeList
    }
  }
}
</script>
